package com.hust360.percent.pojo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.hust360.percent.PercentApplication;

public class BrandLocal extends Brand {

	/**
	 * 
	 */
	private static final long serialVersionUID = -2134794802949102638L;

	@Override
	public List<Discount> getDiscount() {
		
		return null;
	}

	@Override
	public List<Shop> getShop() {
		Map<String, String> map = new HashMap<String, String>();
		map.put(Shop.BRAND_ID, this.id + "");
		return PercentApplication.shopDao.findWithMap(map);
	}

	@Override
	public boolean isLiked(User user) {
		return false;
	}

}
